package com.example.liu_test.mapper;

import com.example.liu_test.pojo.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 刘旺
 * @since 2021-07-05
 */
@Mapper
public interface AdminMapper extends BaseMapper<Admin> {
    @Select("select * from admin")
    public List<Admin> queryAll();

}
